package com.ihunanren.common.io.excel;

import java.util.List;

import org.apache.commons.lang.builder.ToStringBuilder;
/**
 * excel的一行
 * @author kalman03
 */
public class ExcelRow{

	/**单元格数量*/
	private final int cellCount;
	
	private final List<ExcelCell> cells;

	public ExcelRow(int cellCount, List<ExcelCell> cells) {
		this.cellCount = cellCount;
		this.cells = cells;
	}

	public int getCellCount() {
		return cellCount;
	}

	public List<ExcelCell> getCells() {
		return cells;
	}

	@Override
	public String toString() {
		return "ExcelRow [cellCount=" + cellCount + ", cells=" + ToStringBuilder.reflectionToString(cells) + "]";
	}
}
